package com.pengshun.modules.api.transport.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author luoligang
 * @create 2021/5/20
 */
@Data
public class TransportSettDto {
    @ApiModelProperty(value = "结算id")
    private Long freightSettlementId;
    private Long transportTakeCarriageId;
    @ApiModelProperty(value = "姓名")
    private String applyUserName;
    @ApiModelProperty(value = "结算单号")
    private String settlementNo;
    @ApiModelProperty(value = "手机号")
    private String applyUserPhone;
    @ApiModelProperty(value = "车牌号")
    private String carOwnerNum;
    @ApiModelProperty(value = "1司机,2车主,3运输公司")
    private Integer userType;
    @ApiModelProperty(value = "1待结算2退回3已结算,4异常订单")
    private Integer status;
    @ApiModelProperty(value = "数量")
    private BigDecimal number;
    @ApiModelProperty(value = "运费")
    private BigDecimal freight;
    @ApiModelProperty(value = "结算金额")
    private BigDecimal settlementAmount;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "申请日期")
    private Date applyDate;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "结算日期")
    private Date cleanDate;
}
